package com.lianbang.staff.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.lianbang.staff.R

/**
 * Created by maoqi on 2020/12/28.
 */
class HomeListAdapter : BaseQuickAdapter<String, BaseViewHolder>(R.layout.item_home_list) {
    override fun convert(helper: BaseViewHolder, item: String) {
        helper.setText(R.id.tv_title, "武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房武汉市同济大药房")
            .setText(R.id.tv_content, "你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊你是哪里人啊")
            .setText(R.id.tv_message_number, "99+")
    }

}